home *** CD-ROM | disk | FTP | other *** search
/ Grand Slam 3 / Grand Slam 3.iso / 029 / asa.arj / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-11-22  |  5KB  |  207 lines

  1. cls
  2. @echo off
  3. echo.
  4. echo.
  5. echo        Welcome to OzPacks' South Australia Ver 5 scenery installation.
  6. echo.
  7. echo                       Release date 22nd November 1994
  8. echo.
  9. echo.
  10. echo       This scenery is the South Australian component of the Oz FS5 
  11. echo       Scenery Portfolio by The OzPack, an Australian based team of 
  12. echo       volunteers who are dedicated to producing high quality FS5 scenery, 
  13. echo       covering the entire Australian island-continent, under the freeware 
  14. echo       principle. This is being accomplished using a series of pre-planned, 
  15. echo       and ongoing state-by-state revisions wherein, with each state's next 
  16. echo       revision, more detail is progressively introduced. Please see the 
  17. echo       accompanying text files for further information.
  18. echo.
  19. echo.     
  20. echo.
  21. choice .   Proceed with installation of the South Australian scenery ?  Yes No  
  22. if errorlevel 2 goto no1
  23. if errorlevel 1 goto yes1
  24. :no1 
  25. cls
  26. echo.
  27. echo.
  28. echo       You have cancelled the South Australian scenery installation.
  29. echo.
  30. echo.
  31. echo.
  32. goto end
  33. :yes1 
  34. cls
  35. echo.
  36. echo.
  37. echo           The South Australian scenery will now install... 
  38. echo.
  39. echo              ( Source )    From     %1   
  40. echo.
  41. echo  ( FS5 Main Directory )    To       %2
  42. echo.
  43. echo.
  44. echo.
  45. choice .         Does the above state the correct installation directories ?  
  46. if errorlevel 2 goto no2
  47. if errorlevel 1 goto yes2
  48. :no2
  49. cls
  50. echo.
  51. echo.
  52. echo                      Correct installation syntax
  53. echo.
  54. echo.
  55. echo     Install [Full path source directory] [Full path to FS5 main directory]
  56. echo.
  57. echo.
  58. echo     Example 1:-          install c:\temp c:\fltsim
  59. echo.
  60. echo     Example 2:-          INSTALL A: D:\GAMES\FS5
  61. echo.
  62. echo.
  63. echo.
  64. echo.
  65. echo   Re-run the installation with the correct path information. Install cancelled.
  66. echo.
  67. echo.
  68. echo.
  69. goto end
  70. :yes2
  71. cls
  72. echo.
  73. echo.
  74. echo        Install will provide a menu with installation options.
  75. echo.
  76. echo        Where an existing version(s) of a file(s) is present     
  77. echo.
  78. echo        Install will copy the existing file(s) to a FS5 sub-directory    
  79. echo.
  80. echo        called " BIN " before any deletions are made.    
  81. echo.
  82. echo.
  83. echo.
  84. pause
  85. cls
  86. echo.
  87. echo.
  88. echo                         ***   PLEASE NOTE   ***  
  89. echo.
  90. echo        That while Install attempts to save existing files YOU SHOULD
  91. echo.
  92. echo        BACK-UP at least your FS5 sub-directories Scenery, Texture, and    
  93. echo.
  94. echo        if you already have them, FS5 sub-directories BIN and OZPACK.    
  95. echo.
  96. echo          * When anything goes wrong, only a back-up will save you. *    
  97. echo.
  98. echo.
  99. echo.
  100. choice .        Press Y to continue       Press N to exit to make backups   
  101. if errorlevel 2 goto no1
  102. if errorlevel 1 goto yes2a
  103. :yes2a
  104. cls
  105. echo.
  106. echo.
  107. echo                 Please select the required operation:-
  108. echo.
  109. echo.
  110. echo       A.  Install new South Australian scenery. 
  111. echo.
  112. echo       B.  Install new grass & dirt runways.     
  113. echo.                                 
  114. echo       C.  Install manuals.                      
  115. echo.
  116. echo       D.  Exit install.
  117. echo.
  118. echo.
  119. echo.
  120. choice /c:abcd   
  121. if errorlevel 4 goto d
  122. if errorlevel 3 goto c
  123. if errorlevel 2 goto b
  124. if errorlevel 1 goto a
  125. :d
  126. cls
  127. echo.
  128. echo.
  129. echo          You choose to end the South Australian scenery installation.
  130. echo.
  131. echo.
  132. echo.
  133. goto end
  134. :c
  135. cls
  136. echo.
  137. echo.
  138. echo                The scenery's' document files will be copied 
  139. echo.
  140. echo                to the    %2\OzPack  directory.
  141. echo.
  142. echo.
  143. echo.
  144. if not exist %2\OzPack\*.* md %2\OzPack
  145. copy %1\Read_SA.1st %2\OzPack\*.* /v
  146. copy %1\NAV_SA.TXT %2\OzPack\*.* /v
  147. copy %1\Gen_SA.txt %2\OzPack\*.* /v
  148. echo.
  149. echo.
  150. echo.
  151. pause
  152. goto yes2a
  153. :b
  154. cls
  155. if not exist %2\bin\*.* md %2\bin
  156. if not exist %2\texture\runway00.r8 goto bb
  157. copy %2\texture\runway00.r8 %2\bin\*.* /v
  158. del %2\texture\runway00.r8
  159. :bb
  160. copy %2\texture\runway03.r8 %2\bin\*.* /v
  161. del %2\texture\runway03.r8
  162. if not exist %2\ozpack\*.* md %2\ozpack
  163. copy %1\dirt.doc %2\ozpack\*.* /v
  164. copy %1\grass.doc %2\ozpack\*.* /v
  165. copy %1\runway0*.* %2\texture\*.* /v
  166. echo.
  167. echo.
  168. echo.
  169. pause 
  170. goto yes2a
  171. :a
  172. cls
  173. if exist %2\scenery\AUS_SANT.bgl goto ab
  174. :ac
  175. if not exist %2\bin\*.* md %2\bin
  176. if not exist %2\scenery\AUS_SA*.bgl goto aa
  177. copy %2\scenery\AUS_SA*.BGL %2\bin\*.* /v
  178. del %2\scenery\AUS_SA*.BGL
  179. :aa
  180. copy %1\AUS_SA*.BGL %2\scenery\*.* /v
  181. echo.
  182. echo.
  183. echo.
  184. pause
  185. goto yes2a
  186. :ab
  187. echo.
  188. echo.
  189. echo       Note that you have the older combination scenery file
  190. echo       " AUS_SANT.BGL " ( South Australia & Northern Territory )
  191. echo       presently installed in your FS5 Scenery sub-directory. 
  192. echo       Install will copy this to the FS5 sub-directory " BIN " 
  193. echo       as it conflicts somewhat with the newer " AUS_SA*.BGL "
  194. echo       ( South Australia only ) scenery.  There is now available a 
  195. echo       current " AUS_NT.BGL " ( Northern Territory only ) file 
  196. echo       to replace the Northern Territory only scenery. This newer 
  197. echo       Northern Territory only scenery is exactly the same as was on 
  198. echo       the NT component of the original SA&NT combination file.
  199. echo.
  200. echo.
  201. echo.
  202. echo.
  203. pause 
  204. goto ac
  205. :end
  206.  
  207.